package com.iris.live.services.data.repositories;

import com.iris.live.services.data.models.报价精品详细表Model;
import com.iris.live.services.models.PageData;
import com.iris.live.services.services.SetService;
import org.springframework.data.repository.NoRepositoryBean;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Date;
import java.util.List;
import java.util.Map;

@NoRepositoryBean
public interface SetRepository {
	List getItaskSetItems(String permit, String setItem);

	List getCarColorAndAppearance();

	List getMaxEntryNumber();

	PageData getDealerAttachmentPolicy(Integer pageSize, Integer pageIndex,
                                       String permit, String department, String item, String 车型,
                                       String nC_Type);

	List getDistributorInfo(String permitBMBS);

	PageData getLSHMarketSetting(Integer pageSize, Integer pageIndex,
                                 String channel, String permit, String sourceType);

	List getUserPassword(String userName);

	List getUpdAcountAndTime(String permit,Integer siType);

	List getIncomeAdjustmentInfoByFrameNum(String permit, String frameNum,Integer siType );

	PageData getIncomeAdjustmentByCondition(String permit, String shengchanId,
                                            String customerName, String openTicketDate, String jibie,
                                            String carModel, String carVINCode, String type, Integer pageSize,
                                            Integer pageIndex, Integer siType);

	PageData getNewCarSaleDetailInfo(String quotedPrice);

	List getSaleItemsSetting(String permit,
                             String setItems);

    PageData  getAllCarPolicy(SetService.GetCarPolicyRequest carPolicyReq);

	List getRootByRole(String permit, List mingzi);
	PageData getDepositList(SetService.inOutAccountRequest accRequset, String permit);

	List getAllLshRole();

	List getAllCarDetailInfo();

	List getAllCarTypeInfo();

	List getCarColorByCarType(String carParam);

	List getDisplayFlowInfo(String permit, Date startDate, Date endDate);

	List filterCarType(List<String> brands);

	String saveBatchSnpSettingData(
            List<SetService.SNPSettingRequest> snpDataList);

	PageData getSNPDataByYM(SetService.GetSNPSettingReq snpSettingReq);

	PageData getUnSaleUserInfo(SetService.unSaleUserRequest unSaleUserReq);

	int getUnSaleUserNum(SetService.unSaleUserRequest unSaleUserReq);

	List getSaleGroupName(String permit);

	PageData getWorkFlow(SetService.workFlowRequest workFlowReq);

	PageData getLshCarProInfo(@RequestBody SetService.permitRequest permitReq);

	PageData getInOutAccount(SetService.inOutAccountRequest accRequset, String permit);

	List<String> getLshProCode(String siCode, String permit);

	List getCarColorByCarTypeCode(int carTypeCode);

	List getNoCarIncomeAdjustmentInfo(String permit, String id);

	PageData getJiTuanSourceInfo(Integer pageSize, Integer pageIndex, String channel);

	List getCarLastUpdateTime();

	PageData getInvoicesList(SetService.purposeRequest poseRequest, String dealer);

	Map getAllLshRoleName();

	List  getInvoicesdetail(String VIN);

    List getCarCodeAndCarColorCode(String carDetail, String carColor);

	List getOneUserManyAccountList();

    PageData getIncomeAdjustmentInfoBySi(String permit,
                                         String shengchanId, String customerName, String openTicketDate,
                                         String jibie, String carModel, String carVINCode, String type,
                                         Integer pageSize, Integer pageIndex);

    List getIncomeAdjustmentInfoBySiInit(String permit, String id);

    List getAllNotLiveDealers();

	// 由报价编号获取第三方精品
	List<报价精品详细表Model> getThirdBoutiques(int quoteNo);

}
